package cn.com.twoke.application.game.mario.game.level.file;

import cn.com.twoke.application.game.mario.core.ecs.level.Level;
import cn.com.twoke.application.game.mario.core.ecs.level.loader.LevelLoader;

public class JsonFileLevelLoader implements LevelLoader<JsonFileLevelData> {

    @Override
    public Level load(JsonFileLevelData levelData) {
        return new JsonFileLevel(levelData.getFileName());
    }

}
